package effect;


/**
 * 
 * @author Oscar
 * Adds 1 to defense. Creatures get this effect when they stand on the same tile as a wall.
 */
public class ProtectedByWall extends Effect {
	public ProtectedByWall(){
		name="Protected by Wall";
		description="The creature gains 1 extra defense";
		imageName="barbarianIconSmallTemp.png";
		effectTypes.add(EffectType.triggeredByAura);
		effectTypes.add(EffectType.defenceModifier);
	}
	
	@Override
	public int getAddedDefence(int baseMaximumDamage){
		return 1;
	}
}
